<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>hello,wang</h1>

    <form th:action="@{/user/import}" method="post" enctype="multipart/form-data">
        <input name ="file" type="file">
        <input type="submit" value="上传">
    </form>
</body>
</html>